package com.asiainfo.demo.dao.idao;

import com.asiainfo.demo.dao.roles.Bind;

import java.util.ArrayList;

public interface iBind {
    boolean insertBind(Bind bind) throws Exception;

    Bind findBindByBindID(int bindID) throws Exception;


    ArrayList<Bind> findBindsByID(int ID, String type) throws Exception;//type = 'MEM' or 'CARD'
    ArrayList<Bind> findAllBind() throws Exception;

    boolean changeValid(int bindID, byte newStatus) throws Exception;
}
